Conversation
|
Update sitemap too |
| - dev | ||
| - lighthouse | ||
| - chainguardian | ||
| description: Learn how to setup eth2 development chain using lighthouse client. |
There was a problem hiding this comment.
Keeping it short (because of truncate on web, google etc.): How to setup Eth2 development chain using Lighthouse client
|
|
||
| ### Why would I setup private eth2 chain? | ||
|
|
||
| If you had any experience with development on eth1, you probably already know answer to this question so |
There was a problem hiding this comment.
In this case this might not be needed as it is really short paragraph and good to read anyway. Can be a bit on the offensive side too.
You can start with something like: "In case you have experience with development on eth1, you may be familiar with the problem of fast testing and using private networks as a solution." That way you say immediately what's this section about and people can choose to skip or not.
| couple of hours to become active validator. Imagine, waiting couple of hours just to find out your app has bug | ||
| with validator related operation and now you have to do everything all over. | ||
|
|
||
| Our motivation for this setup was [ChainGuardian](https://github.com/nodefactoryio/chainguardian), a desktop validator |
There was a problem hiding this comment.
is it a validator client really or more of desktop app for validators or something like that?
There was a problem hiding this comment.
From my experience, if I say or write any else then "desktop validator client" people have no idea what I'm talking about. And it is, as a matter of fact, our core functionality
There was a problem hiding this comment.
idk, I was referring that technically client is something like lodestar, lighthouse etc.
There was a problem hiding this comment.
those are beacon nodes. They do have validators but they are cli tools
| Our motivation for this setup was [ChainGuardian](https://github.com/nodefactoryio/chainguardian), a desktop validator | ||
| client. Since we need to test whole onboarding process together with validation itself, dev chain is a must have. | ||
|
|
||
| ### Choosing client |
|
|
||
| ### Choosing client | ||
|
|
||
| As you might already know, there is [quite a few teams](https://docs.ethhub.io/ethereum-roadmap/ethereum-2.0/eth2.0-teams/teams-building-eth2.0/) |
There was a problem hiding this comment.
link on [teams developing eth2 clients]
|
|
||
| There is couple of ways to start eth2 chain: | ||
|
|
||
| - start from genesis state (we prefer this one as it requires less configuration modification) |
|
|
||
| - start from genesis state (we prefer this one as it requires less configuration modification) | ||
| - we generate genesis state and provide it to beacon node | ||
| - wait for genesis to start |
| - genesis.json - genesis file containing params of our POA chain | ||
| - passwd.txt - some file containing some dummy password for geth to encrypt our account | ||
|
|
||
| You can read more about setting up POA chain and generating genesis file [here](https://hackernoon.com/setup-your-own-private-proof-of-authority-ethereum-network-with-geth-9a0a3750cda8) |
There was a problem hiding this comment.
I think that linking here is not considered good SEO practice. so maybe this would be:
If you want to learn more about custom POA chain and generating genesis file, you can go through tutorial on how to [setup your own private POA network with geth](https://hackernoon.com/setup-your-own-private-proof-of-authority-ethereum-network-with-geth-9a0a3750cda8)
| ### Step 2: Deploy deposit contract | ||
|
|
||
| Eth2 chain will monitor deposit contract for new deposits and use deposit data to activate validator. | ||
| You can download deposit contract artifact for spec version 0.10.1 [here](https://raw.githubusercontent.com/ethereum/eth2.0-specs/v0.10.1/deposit_contract/contracts/validator_registration.json). |
| If you had any experience with development on eth1, you probably already know answer to this question so | ||
| feel free to skip ahead. | ||
|
|
||
| At the moment, eth2 has a bunch short lived single client testnets and [one long lived](https://prylabs.net/) with |
There was a problem hiding this comment.
You are linking Prysmatic 2x times and this is kinda hidden linking :D
Rephrase so you only link once the name i.e. At the moment, eth2 has a bunch of short lived single client testnets and one long lived which is Prysmatic's Sapphire Testnet](https://prylabs.net/). However, real stable client testnet is yet to come.
No description provided.